package com.zy.mc_module.common;

import com.zy.mc_module.R;
import com.zy.mc_module.utils.AppTools;

/**
 * Created on 18/10/22
 */
public interface Constant {

    /***
     * SharedPreferences KEY值
     */
    String HOME_DATA = "HOME";//首页数据
    String HOME_BANNER = "HOME_BANNER";//首页banner数据
    String SHOPCAR_DATA = "SHOP_CAR";//购物车数据
    String USER_KEY = "thd_user";//用户信息
    String USER_H5_KEY = "USER_H5_KEY";
    String USER_TOKEN_INFO = "USER_TOKEN_INFO";
    String USER_H5_TOKEN = "USER_H5_TOKEN";
    String HISCITY_KEY = "thd_hiscity";//历史城市
    String SEARCH_HISTORY = "search_history";//搜索历史

    /***
     * 微信/朋友圈
     */
    int WXCHAT = 9001;
    int WXCHAT_CIRCLE = 9002;

    /***
     * 分享
     */
    //String[] shares = {"微信好友", "朋友圈", "QQ", "微博"};
    String[] shares = {"微信好友", "朋友圈"};//, "QQ"};
    String[] ShopShares = {"微信好友", "朋友圈", "QQ", "分享图片", "复制链接"};
    //String[] shares = {"QQ"};

    /***
     * 分享链接
     */
    String invite_url = AppTools.share_Url + "home.html";//邀请好友分享
    String house_url = AppTools.share_Url + "mobile/pages/h5_goods?spuId=";//普通商品分享
    String house_pt_url = AppTools.share_Url + "mobile/pages/group_goods?spuId=";//拼团商品分享
    String free_house_url = AppTools.share_Url + "mobile/pages/giftsGoods?giftGoodsId=";//礼品商品分享
    String lbhouse_url = AppTools.share_Url + "mobile/pages/h5_lbgoods?comboGoodsNo=";//礼包商品分享
    String jfhouse_url = AppTools.share_Url + "mobile/pages/h5_jfgoods?integralGoodsNo=";//积分商品分享
    String find_url = AppTools.share_Url + "mobile/pages/article?articleId=";//文章分享
    String find_video_url = AppTools.share_Url + "mobile/pages/video?articleId=";//文章分享-视频
    String place_url = AppTools.share_Url + "mobile/pages/baseDetails?storeId=";//店铺分享

    String authImage1 = AppTools.Base_Url + "admin/sysSetting/outLogoImg?type=authImg1&randomStr=" + Math.random();
    String authImage2 = AppTools.Base_Url + "admin/sysSetting/outLogoImg?type=authImg2&randomStr=" + Math.random();
    String imgWaterMark = AppTools.Base_Url + "admin/sysSetting/outLogoImg?type=imgWaterMark&randomStr=" + Math.random();

    /**
     * inviteRegister
     */
    String inviteRegister = AppTools.share_Url + "mobile/pages/inviteRegister?userId=";

    /***
     * 订单类型
     */
    String[] orderTypes = {"全部", "待付款", "待发货", "待收货", "待评价"};

    /***
     * 上传图片/头像
     */
    String[] selectImg = {"拍照", "从相册选择"};

    //-------------------常量标记-------------------------
    /**
     * 编辑选择城市回调code
     **/
    int SELECTCITY_CODE = 2001;


    /**
     * object传递
     */
    String OBJECT = "object";
    /**
     * index
     */
    String INDEX = "index";
    /**
     * type
     */
    String TYPE = "type";
}
